package com.swh.dao;


import com.swh.dao.base.BaseDao;
import com.swh.entity.Examine;
import com.swh.entity.Examine;
import com.swh.entity.QualificationCondition;
import com.swh.entity.SysOffice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamineDao extends BaseDao<Examine> {
    @Override
    int insert(Examine appVersion);

    @Override
    int delete(int id);

    @Override
    int update(Examine appVersion);

    @Override
    Examine load(int id);

    @Override
    List<Examine> pageList(int pageNull, int pageSize);

    @Override
    int pageListCount(int offset, int pageSize);


    List<Examine> selectPage(@Param("pageNull") int pageNull, @Param("pageSize") int pageSize, @Param("condition")QualificationCondition condition);

    List<SysOffice> selectAll();


}